<?php

namespace Admin\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * MyApp\testBundle\Entity\Smssent
 *
 * @ORM\Table(name="smssent")
 * @ORM\Entity
 */
class Smssent
{
    /**
     * @var integer $idsmstosend
     *
     * @ORM\Column(name="idsmstosend", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     */
    private $idsmstosend;

    /**
     * @var integer $deviceUserIduser
     *
     * @ORM\Column(name="device_user_iduser", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     */
    private $deviceUserIduser;

    /**
     * @var integer $deviceTypeIdtype
     *
     * @ORM\Column(name="device_type_idtype", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     */
    private $deviceTypeIdtype;

    /**
     * @var string $dest
     *
     * @ORM\Column(name="dest", type="string", length=45, nullable=true)
     */
    private $dest;

    /**
     * @var string $text
     *
     * @ORM\Column(name="text", type="text", nullable=true)
     */
    private $text;

    /**
     * @var \DateTime $date
     *
     * @ORM\Column(name="date", type="datetime", nullable=true)
     */
    private $date;

    /**
     * @var Device
     *
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="NONE")
     * @ORM\OneToOne(targetEntity="Device")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="device_iddevice", referencedColumnName="iddevice")
     * })
     */
    private $devicedevice;


}
